home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10562 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  783 b 

  1. Path: zilker.net!usenet
  2. From: gregor@di3270.com (Greg Rickard)
  3. Newsgroups: comp.lang.c++
  4. Subject: private base class vs. private member object
  5. Date: 8 Mar 1996 17:29:45 GMT
  6. Organization: Data Interface Systems Corporation
  7. Message-ID: <4hpqq9$9o3@hackberry.zilker.net>
  8. Reply-To: di@di3270.com
  9. NNTP-Posting-Host: dp10.zilker.net
  10. X-Newsreader: WinVN 0.91.6
  11.  
  12. In Cargill's C++ Programming Style, exercise 3.1 asks the reader to 
  13. "create a class that obtains the services of another class that must be 
  14. incorporated as a private base class.  Second, create a class in which a 
  15. service must be incorporated as a private member object".
  16.  
  17. I'll admit to being stumped, but I'll also admit to being new to this....
  18.  
  19. Any ideas?
  20.  
  21. This is a very thoughtful and thought-provoking book, by the way.
  22.